package com.example.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author: 康伟奇
 * @date: 2023 - 11 - 23 16:56
 **/
@Data
public class Collect implements Serializable {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;
    /** 商家ID */
    private Integer businessId;

    /** 用户ID */
    private Integer userId;

    /** 收藏时间 */
    private String time;

    /**商家名称（表中不存在）**/
    private String businessName;

    /**用户名称（表中不存在）**/
    private String userName;

    /**商家对象**/
    private Business business;
}
